Create folder

Purpose of this building block

With this building block you can create folders based on the contents of your variables. This block works in the same way as the Find Folder building block, but it will create the folder if it cannot be found and stores the ID of the folder in the folderId variable.

Possible use cases

  • Organize files in appropriate folders

Configuration

Click on the bold text in the title of the building block to open the configuration dialog.

Note that you can use Ultradox variables and renderers in the path of the folder.

Useful combinations

Find invoices in a folder, create new if not existing

year
folderId
year
Google Drive folder
folderId
folderId
folder[].fileId
folder[].fileId
fileId

Let's say you have a variable called year which holds the name of the folder you want to track down.

You can then search for the folder using invoices/${year} as path of the folder. If the variable contains the value 2015 Ultradox will evaluate the variable so that your file-name becomes invoices/2015.

If Ultradox can find a folder with this name, the id of the folder will be stored in the folderId output variable and can then be used in other building blocks.

In case the folder is not yet existing, so the Find folder building block returned no folderId a new folder for the referring year is created.

Here all files in the selected folder are first listed and then accessed one by one in order to extract some data and to perform further calculations.

...

Questions and Feedback

If you have any comments on this guide, feel free to add them right to the Google document that we are using to create this site.

If you are not yet member of the Ultradox community on Google+, please join now to get updates from our end or to provide feedback, bug reports or discuss with other users.

Last Updated:

Share on Google+Share on FacebookShare on TwitterShare on LinkedIn